<html>
  <body>
    <head>
      <%= stylesheet_link_tag 'application' %>
      <%= javascript_include_tag 'prototype' %>
      <%= calendar_date_select_includes "red"%> <%# or "blue", or "silver", or nil for the default! %>
    </head>
    <br />

    <div id="logo">
      <h1> MNS: Modular Notification System </h1>
    </div>

    <div id="user_control">
      <% if !current_user %>
        <%= link_to "Register", new_user_path %> | <%= link_to "Login", login_path %>
      <%end%>
      <% if current_user %>
        <%= "Welcome, #{current_user.email}!" %> | <%= link_to "Home", dashboard_path %> | +<%= link_to "New Notification", new_user_module_path %> | <%= link_to "My Profile", edit_user_path(current_user.user_id) %> | <%= link_to "Logout", logout_path %>
      <% end %>
      <% if current_user && current_user.is_admin? %>
        | <%= link_to "Admin", admin_path %>
      <% end %>
      <% if current_user && current_user.is_dev? %>
        | <%= link_to "Developer", developers_path %>
      <% end %>
    </div>
    <div id="content">
      <%= yield %>
    </div>
    <div id="footer">
      (C) HADD Mobile Applications and Services CS4261
    </div>
  </body>
</html>